package com.clkj.zhonghui.pojo.banner;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author jiarun
 * @date Wed Jul 10 15:07:01 CST 2024
 * app轮播图、弹窗总表
 */
@ApiModel( value ="t_zh_banner" )
@Table( name ="t_zh_banner" )
public class Banner  implements Serializable {

    @Id
   	@Column(name = "banner_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer bannerId;

	/**
	 * 图片名称
	 */
   	@Column(name = "banner_name" )
	@ApiModelProperty( value="图片名称")
	private String bannerName;

	/**
	 * 状态 0禁用 1启用
	 */
   	@Column(name = "banner_status" )
	@ApiModelProperty( value="状态 0禁用 1启用")
	private Integer bannerStatus;

	/**
	 * 链接
	 */
   	@Column(name = "banner_href" )
	@ApiModelProperty( value="链接")
	private String bannerHref;

	/**
	 * 关联的商品、文章等ID
	 */
   	@Column(name = "banner_pro" )
	@ApiModelProperty( value="关联的商品、文章等ID")
	private Integer bannerPro;

	/**
	 * 类型 0为首页轮播图 1论坛轮播图  2为首页广告位 3 为论坛广告位   4为首页弹窗 5为论坛弹窗 6为启动页广告图
	 */
   	@Column(name = "banner_flag" )
	@ApiModelProperty( value="类型 0为首页轮播图 1论坛轮播图  2为首页广告位 3 为论坛广告位   4为首页弹窗 5为论坛弹窗 6为启动页广告图")
	private Integer bannerFlag;

	/**
	 * 店铺id
	 */
   	@Column(name = "shop_id" )
	@ApiModelProperty( value="店铺id")
	private Integer shopId;

	/**
	 * 开始时间
	 */
   	@Column(name = "start_time" )
	@ApiModelProperty( value="开始时间")
	private String startTime;

	/**
	 * 结束时间
	 */
   	@Column(name = "end_time" )
	@ApiModelProperty( value="结束时间")
	private String endTime;

    public Integer getProText() {
        return proText;
    }

    public void setProText(Integer proText) {
        this.proText = proText;
    }

    @Transient
    private Integer proText;

  public Integer getBannerId() {
    return bannerId;
  }

  public void setBannerId(Integer bannerId) {
    this.bannerId = bannerId;
  }


  public String getBannerName() {
    return bannerName;
  }

  public void setBannerName(String bannerName) {
    this.bannerName = bannerName;
  }


  public Integer getBannerStatus() {
    return bannerStatus;
  }

  public void setBannerStatus(Integer bannerStatus) {
    this.bannerStatus = bannerStatus;
  }


  public String getBannerHref() {
    return bannerHref;
  }

  public void setBannerHref(String bannerHref) {
    this.bannerHref = bannerHref;
  }


  public Integer getBannerPro() {
    return bannerPro;
  }

  public void setBannerPro(Integer bannerPro) {
    this.bannerPro = bannerPro;
  }


  public Integer getBannerFlag() {
    return bannerFlag;
  }

  public void setBannerFlag(Integer bannerFlag) {
    this.bannerFlag = bannerFlag;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }


  public String getStartTime() {
    return startTime;
  }

  public void setStartTime(String startTime) {
    this.startTime = startTime;
  }


  public String getEndTime() {
    return endTime;
  }

  public void setEndTime(String endTime) {
    this.endTime = endTime;
  }

}
